<%--
  Created by IntelliJ IDEA.
  User: zjk
  Date: 2018-08-04
  Time: 10:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>销售计划窗口</title>
    <!-- 引入公用表单样式 -->
    <link href="css/utils/utilsForm.css" rel="stylesheet" type="text/css">

</head>
<body>
<!--引入销售计划JS-->
<script type="text/javascript" src="js/before-sale/salePlan.js"></script>
<!-- 引入检测js -->
<script type="text/javascript" src="js/before-sale/check.js"></script>
<div style="text-align: center;">
    <form id="zjk-salePlan-f" action="add-salePlan" method="post">

        <div class="dd">
            <input id="planName" name="planName" class="easyui-textbox" data-options="label:'计划名称',width:670" validType="textname">

        </div>


        <div class="dd">
            <input id="userId" class="easyui-combobox" name="userId"
                   data-options="required:true,label:'负责人',labelWidth:69,width:330,valueField: 'uId',textField: 'uname',
		   				url: 'saling/getUserInfoList'" prompt="请选择"/>
            <span style="display: inline-block;widht:50px;"></span>
            <select id="planCheck" prompt="请选择" class="easyui-combobox" name="planCheck" style="width:330px;" data-options="label:'审核状态',labelAlign:'right',panelHeight:'auto'">
                <option value="--">--</option>
                <option>未审核</option>
                <option>审核通过</option>
                <option>审核失败</option>
            </select>

        </div>
        <div class="dd">
            <input id="strategyProduct" name="strategyProduct" class="easyui-textbox" data-options="label:'产品策略',labelAlign:'right',width:330,
            labelAlign:'right'">
            <span style="display: inline-block;widht:50px;"></span>
            <input id="strategyPrice"  name="strategyPrice" class="easyui-textbox" data-options="label:'价格策略',width:330">
        </div>
        <div class="dd">
            <input id="expenseBudget"  name="expenseBudget" class="easyui-textbox"  validType="checkDotNumber" data-options="label:'预算费用',width:670" validType="checkDotNumber">
        </div>

        <div class="dd">
            <input  id="setTime" name="setTime" class= "easyui-datebox" data-options="label:'创建时间',width:330,panelWidth:262,disabled:true">
            <span style="display: inline-block;widht:50px;"></span>
            <input  id="updateDate" name="updateDate" style="float: left;" class= "easyui-datebox" data-options="label:'更新时间',width:330,panelWidth:262,disabled:true">
        </div>


    </form>







</div>
<script>
    $.extend($.fn.validatebox.defaults.rules, {
        checkDotNumber: {
            validator: function (value) {
                var pattern = /^\d+([.]\d+)*$/
                return pattern.test(value);
            },
            message: '必须为数字或小数'
        }
    });
</script>
</body>
</html>
